package com.lottery.ruok.lottrey.retrofitModule.request;

import com.lottery.ruok.lottrey.retrofitModule.BaseModel;
import com.lottery.ruok.lottrey.retrofitModule.response.ReceiveRewardResponse;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface ReceiveRewardRequest {
    @FormUrlEncoded
    @POST("receive_reward")
    Observable<BaseModel<ReceiveRewardResponse>> getResult(@Query("token") String token
            , @Field("mission_id") int activityId
            , @Field("level") int level);
}
